Method for presentation by terminal device, and terminal device

ABSTRACT

The technical solutions provide a method for presentation by a terminal device, and a terminal device, so as to reduce a memory burden of the terminal device, improve efficiency and an interaction capability, and facilitate use for a user. Specifically, a method for presentation by a terminal device is provided, where the method includes: when the mobile terminal is in a locked state, display, on the touch screen, the first interface, the first interface including an interface of a first application program (FAP), an interface of a second application program (SAP) and a first content determined by the mobile terminal based on a habit of using the mobile terminal by a user of the mobile terminal, the interface of the SAP occupying a second area on the touch screen, and the second area being part of the whole display area of the touch screen.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/033,524, filed on Apr. 29, 2016, which is a national stage ofInternational Application No. PCT/CN2013/086459, filed on Nov. 1, 2013.Both of the aforementioned applications are hereby incorporated byreference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the field of terminal devices, and inparticular, to a method for presentation by a terminal device, and aterminal device.

BACKGROUND

As technologies advance, terminal devices become increasingly popular.When using a terminal device, a user often prevents misoperations bylocking a screen. In current screen locking technologies, a relationshipbetween a lock screen interface and a home interface is usually ahierarchical relationship (as shown in FIG. 12). The user generallyneeds to unlock by performing an operation (for example, sliding on ortapping some positions on the screen), so that the lock screen interfacedisappears, and the home interface is displayed. In this case, functionsof the terminal device are activated, and multiple operations of theuser can be responded to. After the terminal device enters an unlockedstate, the lock screen interface cannot be presented, unless theterminal device is switched to a screen-locked state again. Such amethod for preventing misoperations imposes a burden on both theterminal device and the user. First, a lock screen interface useless tomost interactions needs to be added for the terminal device, whichincreases a memory burden of the terminal device and lowers useefficiency and an interaction capability of the terminal device. Second,the user cannot see content on the lock screen interface after theterminal device is unlocked, and needs to lock the terminal device againto view the content on the lock screen interface, which lowers operationefficiency of the user and brings much inconvenience to the user.

SUMMARY

The technical solutions provide a method for presentation by a terminaldevice, and a terminal device, so as to reduce a memory burden of theterminal device, improve efficiency and an interaction capability, andfacilitate use for a user.

According to a first aspect, a method for presentation by a terminaldevice is provided, where the method includes: when the terminal deviceis in a locked state, presenting content of a first interface; acquiringuser input; if the user input meets a preset first condition, switchingthe terminal device to an unlocked state; and presenting content of thefirst interface after the terminal device is switched to the unlockedstate; where the user input to which the terminal device can respond inthe unlocked state is more than the user input to which the terminaldevice can respond in the locked state, and the content that is of thefirst interface and presented when the terminal device is in theunlocked state is the same as the content that is of the first interfaceand presented when the terminal device is in the locked state.

With reference to the first aspect, in a first possible implementationmanner of the first aspect, the content of the first interfacespecifically includes system-level content or application program-levelcontent preset by the terminal device or/and a user, where thepresetting by the terminal device includes presetting, by the terminaldevice according to a use habit of the user or/and a class of the user.

With reference to the first aspect or the first possible implementationmanner of the first aspect, in a second possible implementation mannerof the first aspect, the first interface is a first interface presentedafter the terminal device is switched to the unlocked state.

With reference to the first aspect or the first possible implementationmanner of the first aspect, in a third possible implementation manner ofthe first aspect, the presenting content of the first interface afterthe terminal device is switched to the unlocked state specificallyincludes: after the terminal device is switched to the unlocked state,presenting content of a second interface; and after presenting thecontent of the second interface, presenting the content of the firstinterface, where the content of the first interface is different fromthe content of the second interface.

With reference to the first aspect, or the first possible implementationmanner of the first aspect, or the second possible implementation mannerof the first aspect, or the third possible implementation manner of thefirst aspect, in a fourth possible implementation manner of the firstaspect, the first interface is a first interface presented when theterminal device is in the locked state.

With reference to the first aspect or the fourth possible implementationmanner of the first aspect, in a fifth possible implementation manner ofthe first aspect, the user input to which the terminal device canrespond in the locked state includes: the terminal device can start anapplication program according to the user input, and after the acquiringuser input, and when the terminal device is in the locked state, themethod further includes: starting the application program according tothe user input; and presenting an interface of the application program.

With reference to the first aspect, or the first possible implementationmanner of the first aspect, or the second possible implementation mannerof the first aspect, or the third possible implementation manner of thefirst aspect, or the fourth possible implementation manner of the firstaspect, or the fifth possible implementation manner of the first aspect,in a sixth possible implementation manner of the first aspect, after theacquiring user input, and when the terminal device is in the lockedstate, the method further includes: if the user input meets a presetsecond condition, presenting, according to the user input, content thatis of the first interface and outside a current presentation range ofthe terminal device; or if the user input meets a preset secondcondition, and the content of the first interface is already fullypresented in a current presentation range of the terminal device,prompting the user that the content of the first interface is alreadyfully presented in the current presentation range of the terminaldevice.

With reference to the first aspect or the sixth possible implementationmanner of the first aspect, in a seventh possible implementation mannerof the first aspect, that the user input meets a preset first conditionindicates that the user input meets a preset condition for unlocking thelocked state of the terminal device; and that the user input meets apreset second condition indicates that the user input meets a presetcondition for viewing information on the terminal device.

According to a second aspect, a terminal device is provided, where theterminal device includes: a locking unit, configured to enable theterminal device to be in a locked state; a presentation unit, configuredto: when the locking unit enables the terminal device to be in thelocked state, present content of a first interface; an acquiring unit,configured to acquire user input; and an unlocking unit, configured to:if the user input meets a preset first condition, switch the terminaldevice to an unlocked state; where the presentation unit is furtherconfigured to present content of the first interface after the unlockingunit switches the terminal device to the unlocked state, where thecontent that is of the first interface and presented when the terminaldevice is in the unlocked state is the same as the content that is ofthe first interface and presented when the terminal device is in thelocked state, and the user input to which the terminal device canrespond in the unlocked state is more than the user input to which theterminal device can respond in the locked state.

With reference to the second aspect, in a first possible implementationmanner of the second aspect, the content of the first interfacespecifically includes: system-level content or application program-levelcontent preset by a user; or system-level content or applicationprogram-level content preset by the terminal device according to a usehabit of a user or a class of the user.

With reference to the second aspect or the first possible implementationmanner of the second aspect, in a second possible implementation mannerof the second aspect, the first interface is a first interface presentedafter the terminal device is switched to the unlocked state.

With reference to the second aspect or the first possible implementationmanner of the second aspect, in a third possible implementation mannerof the second aspect, the presentation unit is specifically configuredto: when the locking unit enables the terminal device to be in thelocked state, present the content of the first interface; after theunlocking unit switches the terminal device to the unlocked state,present content of a second interface; and after presenting the contentof the second interface, present the content of the first interface,where the content of the first interface is different from the contentof the second interface.

With reference to the second aspect, or the first possibleimplementation manner of the second aspect, or the second possibleimplementation manner of the second aspect, or the third possibleimplementation manner of the second aspect, in a fourth possibleimplementation manner of the second aspect, the first interface is afirst interface presented when the terminal device is in the lockedstate.

With reference to the second aspect or the fourth possibleimplementation manner of the second aspect, in a fifth possibleimplementation manner of the second aspect, the terminal device furtherincludes an application program unit, where the application program unitis configured to: when the locking unit enables the terminal device tobe in the locked state, start an application program according to theuser input acquired by the acquiring unit; and the presentation unit isfurther configured to: after the application program unit starts theapplication program, present an interface of the application program.

With reference to the second aspect, or the first possibleimplementation manner of the second aspect, or the second possibleimplementation manner of the second aspect, or the third possibleimplementation manner of the second aspect, or the fourth possibleimplementation manner of the second aspect, or the fifth possibleimplementation manner of the second aspect, in a sixth possibleimplementation manner of the second aspect, the presentation unit isfurther configured to: if the user input meets a preset secondcondition, present, according to the user input, content that is of thefirst interface and outside a current presentation range of the terminaldevice.

With reference to the second aspect, or the first possibleimplementation manner of the second aspect, or the second possibleimplementation manner of the second aspect, or the third possibleimplementation manner of the second aspect, or the fourth possibleimplementation manner of the second aspect, or the fifth possibleimplementation manner of the second aspect, or the sixth possibleimplementation manner of the second aspect, in a seventh possibleimplementation manner of the second aspect, the terminal device furtherincludes a prompting unit, where the prompting unit is configured to: ifthe user input meets the preset second condition, and the content of thefirst interface is already fully presented in the current presentationrange of the terminal device, prompt the user that the content of thefirst interface is already fully presented in the current presentationrange of the terminal device.

With reference to the second aspect, or the sixth possibleimplementation manner of the second aspect, or the seventh possibleimplementation manner of the second aspect, in an eighth possibleimplementation manner of the second aspect, that the user input meets apreset first condition indicates that the user input meets a presetcondition for unlocking the locked state of the terminal device; andthat the user input meets a preset second condition indicates that theuser input meets a preset condition for viewing information on theterminal device.

According to a third aspect, a terminal device is provided, where theterminal device includes a processor, a touchscreen, and a memory, wherethe memory is configured to store content of a first interface; thetouchscreen is configured to: when the terminal device is in a lockedstate, present content of the first interface under control of theprocessor; the touchscreen is further configured to acquire user input;the processor is configured to: if the user input acquired by thetouchscreen meets a preset first condition, switch the terminal deviceto an unlocked state; and the touchscreen is further configured to:after the unlocking unit switches the terminal device to the unlockedstate, present content of the first interface under the control of theprocessor, where the content that is of the first interface andpresented when the terminal device is in the unlocked state is the sameas the content that is of the first interface and presented when theterminal device is in the locked state, and the user input to which theprocessor can respond when the terminal device is in the unlocked stateis more than the user input to which the processor can respond when theterminal device is in the locked state.

With reference to the third aspect, in a first possible implementationmanner of the third aspect, the content of the first interfacespecifically includes: system-level content or application program-levelcontent preset by a user; or system-level content or applicationprogram-level content preset by the terminal device according to a usehabit of a user or a class of the user.

With reference to the third aspect or the first possible implementationmanner of the third aspect, in a second possible implementation mannerof the third aspect, the first interface is a first interface presentedafter the terminal device is switched to the unlocked state.

With reference to the third aspect or the first possible implementationmanner of the third aspect, in a third possible implementation manner ofthe third aspect, the memory is further configured to store content of asecond interface; and the touchscreen is further configured to: afterthe processor switches the terminal device to the unlocked state,present content of the second interface under the control of theprocessor, and after presenting the content of the second interface,present the content of the first interface, where the content of thefirst interface is different from the content of the second interface.

With reference to the third aspect, or the first possible implementationmanner of the third aspect, or the second possible implementation mannerof the third aspect, or the third possible implementation manner of thethird aspect, in a fourth possible implementation manner of the thirdaspect, the first interface is a first interface presented when theterminal device is in the locked state.

With reference to the third aspect or the fourth possible implementationmanner of the third aspect, in a fifth possible implementation manner ofthe third aspect, the processor is further configured to: when thelocking unit enables the terminal device to be in the locked state,start an application program according to the user input acquired by thetouchscreen; and the touchscreen is further configured to: after theprocessor starts the application program, present an interface of theapplication program.

With reference to the third aspect, or the first possible implementationmanner of the third aspect, or the second possible implementation mannerof the third aspect, or the third possible implementation manner of thethird aspect, or the fourth possible implementation manner of the thirdaspect, or the fifth possible implementation manner of the third aspect,in a sixth possible implementation manner of the third aspect, theprocessor is further configured to: if the user input acquired by thetouchscreen meets a preset second condition, control, according to theuser input, the touchscreen to present content that is of the firstinterface and outside a current presentation range of the terminaldevice.

With reference to the third aspect or the sixth possible implementationmanner of the third aspect, in a seventh possible implementation mannerof the third aspect, that the user input meets a preset first conditionindicates that the user input meets a preset condition for unlocking thelocked state of the terminal device; and that the user input meets apreset second condition indicates that the user input meets a presetcondition for viewing information on the terminal device.

The embodiments of the present disclosure provide a method forpresentation by a terminal device, and a terminal device, so as toreduce a memory burden of the terminal device, improve efficiency and aninteraction capability, and facilitate use for a user.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the presentinvention or in the prior art more clearly, the following brieflydescribes the accompanying drawings required for describing theembodiments. Apparently, the accompanying drawings in the followingdescription show some embodiments of the present invention, and a personof ordinary skill in the art may still derive other drawings from theseaccompanying drawings without creative efforts.

FIG. 1 is a flowchart of a method for presentation by a terminal deviceaccording to Embodiment 1 of the present invention;

FIG. 2 is a schematic structural diagram of a terminal device accordingto Embodiment 2 of the present invention;

FIG. 3 is another possible schematic structural diagram of a terminaldevice according to Embodiment 2 of the present invention;

FIG. 4 is a schematic structural diagram of a terminal device accordingto Embodiment 3 of the present invention;

FIG. 5 is a schematic presentation diagram of presenting content of afirst interface when a terminal device is in a locked state;

FIG. 6 is a schematic presentation diagram of a second interfaceaccording to an embodiment of the present invention;

FIG. 7 is a schematic presentation diagram of a text-based interfaceaccording to an embodiment of the present invention;

FIG. 8 is a schematic presentation diagram of a graphical interfaceaccording to an embodiment of the present invention;

FIG. 9 is a schematic presentation diagram of a physical controlinterface according to an embodiment of the present invention;

FIG. 10 is a schematic presentation diagram of system-level contentaccording to an embodiment of the present invention;

FIG. 11 is a schematic presentation diagram of application program-levelcontent according to an embodiment of the present invention;

FIG. 12 is a schematic presentation diagram of the prior art accordingto an embodiment of the present invention; and

FIG. 13A and FIG. 13B are schematic presentation diagrams of presenting,by the terminal device in a locked state, content of a first interfaceto presenting an interface of an application program according to anembodiment of the present invention.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of theembodiments of the present invention clearer, the following clearly andcompletely describes the technical solutions in the embodiments of thepresent invention with reference to the accompanying drawings in theembodiments of the present invention. Apparently, the describedembodiments are some but not all of the embodiments of the presentinvention. All other embodiments obtained by a person of ordinary skillin the art based on the embodiments of the present invention withoutcreative efforts shall fall within the protection scope of the presentinvention.

The terms used in the embodiments of the present invention are merelyfor the purpose of illustrating specific embodiments, and are notintended to limit the present invention. The terms “a”, “said” and “the”of singular forms used in the embodiments and the appended claims of thepresent invention are also intended to include plural forms, unlessotherwise specified in the context clearly. It should also be understoodthat, the term “and/or” used herein indicates and includes any or allpossible combinations of one or more associated listed items. It shouldbe further understood that the term “include” used in the specificationspecifies presence of features, entirety, steps, operations, elementsand/or components, with presence or attachment of other features,entirety, steps, operations, elements, components, and theircombinations not excluded.

It should be understood that, although terms such as “first”, “second”,and “third” may be used in the embodiments of the present invention todescribe various conditions or interfaces, these conditions orinterfaces should not be limited by these terms. These terms are merelyused to differentiate the various conditions or interfaces. For example,without departing from the scope of the embodiments of the presentinvention, a first interface may also be referred to as a secondinterface, and similarly the second interface may also be referred to asthe first interface; and a first condition may also be referred to as asecond condition, and similarly the second condition may also bereferred to as the first condition.

In the embodiments of the present invention, a terminal device includesbut is not limited to a mobile communications terminal device such as amobile phone, a personal digital assistant (PDA), a tablet computer, anda portable terminal device (such as a portable computer), and alsoincludes a terminal device that has a touchscreen, such as an automaticteller machine (ATM), and may further include a terminal device that hasa touchscreen, such as a digital camera, which is not limited in theembodiments of the present invention.

The touchscreen may be an input/input interface by which a userinteracts with the terminal device, and can present one or more graphicswithin an interface. The user can also use, for example, one or morefingers, to come into contact with or touch the one or more graphics, soas to select the graphic/graphics. In some embodiments, selecting one ormore graphics occurs when the user releases contact with the one or moregraphics. In some embodiments, selecting one or more graphics occurswhen the user comes into contact with the one or more graphics. In someembodiments, contact may include a gesture, such as one or more taps,one or more swipes (from left to right, from right to left, upwards,and/or downwards), and sliding (from right to left, from left to right,upwards, and/or downwards) of a finger that is already in contact withthe touchscreen. In some embodiments, a graphic is not selected when theuser is unintentionally in contact with the graphic. It should beunderstood that, the contact in the present invention includes directcontact or indirect contact with the touchscreen, and further includesan air gesture operation over the touchscreen, which is not limited inthe embodiments of the present invention.

Embodiment 1

FIG. 1 is a flowchart of a method for presentation by a terminal deviceaccording to Embodiment 1 of the present invention. As shown in FIG. 1,the method for presentation by the terminal device may include:

S101. When the terminal device is in a locked state, present content ofa first interface.

That the terminal device is in a locked state indicates that theterminal device can correspondingly process only a part of user input,and cannot process another part of the user input, or cannot processanother part of the user input in a same way as the device does in anunlocked state. That the terminal device is enabled to be in the lockedstate is to prevent misoperations, protect user privacy, or save anelectric energy of the terminal device. Generally, the terminal devicemay enter the locked state by using a function of a system itself or anapplication program. When the terminal device is in the locked state,the content of the first interface is presented. FIG. 5 is a schematicpresentation diagram of presenting content of a first interface when aterminal device is in a locked state. As shown in FIG. 5, an interfaceis a medium for an interaction and an information exchange between thesystem and a user, and the interface implements conversion between aninternal form of information and a form that can be accepted by humans.An objective of the interface is to allow the user to conveniently andefficiently operate hardware, so as to achieve mutual interactions andcomplete work that is expected to be completed by using the hardware.The interface has a broad definition and includes a human-computerinteraction interface, a graphical interface, and the like. An interfaceexists in any field involving information communication between thehumans and a machine. The interface may specifically include atext-based interface, such as an interface (as shown in FIG. 7) that hascharacters and is obtained by programming by using a computer language.A graphical interface, that is, a graphical interface (GUI), iscurrently a most common interface worldwide. For example, an interfacedisplayed when a mobile phone is in a power-on state is a graphicalinterface (as shown in FIG. 8), and a user interacts with hardware ofthe device by using a displayed graphic (an icon). A physical interface,that is, a physical control (as shown in FIG. 9), is one of means ofinteractions between the system and the user. Currently, relativelyuniversal physical controls mainly include a volume button, aphotographing button, a power-on button, an unlocking button, and thelike on an apparatus. The content of the first interface is informationinteracted between the user and the terminal device. The information mayinclude control information, and may further include non-controlinformation, and the information may include one or more types ofinformation that can be perceived by the user, such as auditoryinformation, visual information, haptic information, action information,and smell information.

Optionally, the content of the first interface specifically includessystem-level content or application program-level content preset by theterminal device or/and a user, where the presetting by the terminaldevice includes presetting, by the terminal device according to a usehabit of the user or/and a class of the user.

The system-level content (as shown in FIG. 10) may be content presentedby the system to the user. Currently, common systems include a windowsystem, an android system, an ios system, and the like. The applicationprogram-level content (as shown in FIG. 11, FIG. 11 presents SMS messageapplication program content) may be content that is presented to theuser after the terminal device starts an application program. Currently,common application programs include but are not limited to a telephoneapplication program, a video conference application program, an e-mailapplication program, an instant messaging application program, a blogapplication program, a digital camera application program, a digitalvideo camera application program, an Internet browsing applicationprogram, a digital music player application program, and/or a digitalvideo player application program, and the like. The content of the firstinterface may be preset by the user, where the user designs the contentof the first interface according to the use habit and a preference ofthe user. For example, the user may design the content of the firstinterface as an application program frequently used by the user, or asinformation (which includes but is not limited to time, information,news, and the like) that needs to be frequently viewed by the user, oras an interface that is latest displayed before the user locks thedevice last time. When the user presets the content of the firstinterface, the terminal device may also preset the content of the firstinterface according to the use habit of the user or the class of theuser. That the terminal device presets the content of the firstinterface according to the use habit of the user may be: collecting theuse habit of the user by active learning, and then setting the contentof the first interface by simulating the use habit of the user, wherethe content of the first interface includes but is not limited to theforegoing content that can be designed by the user. That the terminaldevice presets the content of the first interface according to the classof the user may include: the terminal device presents, to a user bydetermining a class of the user who currently operates the device,content matching the class. It should be noted that, the terminal devicemay also complete setting of the content of the first interface by usingany method that combines the foregoing presetting.

Optionally, the first interface is a first interface presented when theterminal device is in the locked state. It can be understood that, afterthe terminal device is activated in a particular manner, but is still inthe locked state and cannot respond to all operations of the user, inthis case, the first interface that is presented by the terminal deviceto the user is the first interface. For example, when a screen of theterminal device is lighted, an interface that is the first one presentedto the user is the first interface.

Optionally, as shown in FIGS. 13A and 13B, the user input to which theterminal device can respond in the locked state includes: the terminaldevice can start an application program according to the user input.Then, after the acquiring user input, and when the terminal device is inthe locked state, the method further includes: starting the applicationprogram according to the user input; and presenting an interface of theapplication program. FIG. 13A is a schematic presentation diagram of afirst interface when the device is in the locked state. In this case,content of the first interface is the system-level content. After theterminal device acquires the user input and starts an SMS messageapplication program according to the user input, an interface of the SMSmessage application program is presented, as shown in FIG. 13B. Itshould be understood that, when the terminal device presents theinterface shown in FIG. 13B, because the terminal device is in thelocked state, the user input to which the terminal device can respond isless than the user input to which the terminal can respond in theunlocked state.

S102. Acquire user input.

The terminal device acquires the user input, and the user input may beobtained by using a touchscreen, or may be obtained by using anotherperipheral of the terminal device (for example, the user input may beacquired by using a microphone, a sensor, and the like). When a terminalwith the touchscreen acquires the user input by using the touchscreen,the user may, by using, for example, one or more fingers, be in contactwith or touch one or more graphics to complete entering, or maycomplete, by sliding a track, entering, or may complete, by gesturing,entering.

S1030. If the user input meets a preset first condition, switch theterminal device to an unlocked state, where the user input to which theterminal device can respond in the unlocked state is more than the userinput to which the terminal device can respond in the locked state.

The preset first condition may be preset by the system or the user, andwhen the user input meets the first condition, the terminal device isswitched from the locked state to the unlocked state. The unlocked statecorresponds to the locked state, and the device in the unlocked statecan respond to more operations of the user when compared with the devicein the locked state. For example, the user input to which the terminaldevice can respond in the locked state includes: information about theterminal device according to the user input, starting an applicationprogram according to the user input, and unlocking the locked stateaccording to the user input. In addition to the foregoing user input,the user output to which the terminal device can respond in the unlockedstate further includes: making a call, editing information, and deletinginformation according to the user input, and the like.

Optionally, that the user input meets a preset first condition indicatesthat the user input meets a preset condition for unlocking the lockedstate of the terminal device. The user input that meets the presetcondition for unlocking the locked state of the terminal device mayinclude a gesture of the user on the touchscreen, such as a slidinggesture and a tapping gesture, or shaking the terminal device by theuser, or changing a state of the terminal device by the user, or thelike.

S104. Present content of the first interface after the terminal deviceis switched to the unlocked state, where the content that is of thefirst interface and presented by the terminal device when the terminaldevice is in the unlocked state is the same as the content that is ofthe first interface and presented by the terminal device when theterminal device is in the locked state.

After the terminal device is unlocked, the terminal device presents thecontent of the first interface to the user. In this case, the presentedcontent of the first interface is the same as the content that is of thefirst interface and presented when the terminal device is in the lockedstate. The “same” indicates that, by comparing two things, there is nochange, or no substantial change, or no obvious change that can beperceived by the user. Specifically, by comparing the content of thefirst interface in the locked state with the content of the firstinterface in the unlocked state, there is no change, or no substantialchange, or no obvious change, between the two, that can be perceived bythe user. It should be understood that, although the content of thefirst interface does not change between the two states, capabilities ofinteractions between the first interface and the user are differentbetween the two different states.

Optionally, the first interface is a first interface presented after theterminal device is switched to the unlocked state. It can be understoodthat, after the terminal device is unlocked in a particular manner, inthis case, the first interface that is presented by the terminal deviceto the user is the first interface. For example, after the terminaldevice completes sliding to unlock, or password unlocking, or patternunlocking, or profile picture unlocking, or voice unlocking, orfingerprint unlocking, the first interface that is presented to the useris the first interface.

Optionally, step S104 may specifically include: after the terminaldevice is switched to the unlocked state, presenting content of a secondinterface; and after presenting the content of the second interface,presenting the content of the first interface. It can be understoodthat, after the terminal device is unlocked in a particular manner, inthis case, instead of directly presenting the first interface, theterminal device first presents the second interface to the user, andafter presenting the second interface, the terminal device presents thefirst interface to the user according to the user input or a setting ofthe system. FIG. 5 is a schematic presentation diagram of a firstinterface, and FIG. 6 is a schematic presentation diagram of a secondinterface. As shown in FIG. 5 and FIG. 6, the first interface and thesecond interface are different interfaces, and content of the firstinterface is different from content of the second interface.

Optionally, after step S102 and before step S104, the method in thisembodiment of the present invention further includes the following step:S1031. If the user input meets a preset second condition, present,according to the user input, content that is of the first interface andoutside a current presentation range of the terminal device; or if theuser input meets a preset second condition, and the content of the firstinterface is already fully presented in a current presentation range ofthe terminal device, prompt the user that the content of the firstinterface is already fully presented in the current presentation rangeof the terminal device.

The preset second condition may be preset by the system or the user, andwhen the user input meets the second condition, the content that is ofthe first interface and outside the current presentation range of theterminal device is presented according to the user input. Because apresentation capability of the terminal device is within a particularrange, the content of the first interface may not be fully presented tothe user in some cases. Therefore, the terminal device presents,according to the user input, the content that is of the first interfaceand outside the current presentation range to the user. In this case,the user input may be a frequently-used downward sliding gesture, pageflipping gesture, or zooming-in or zooming-out gesture, or the like,which is not limited in the present invention. As shown in FIG. 5, theuser may view the content of the first interface by using an upward ordownward sliding gesture. If the user input meets the preset secondcondition, but the content of the first interface is already fullypresented by the terminal device, in this case, the terminal device doesnot respond, or prompts the user with the fact that the content of thefirst interface is already fully presented in the current presentationrange of the terminal device. The prompt may be conveyed to the user byusing one or more means that can be perceived by the user, such asauditory information, visual information, haptic information, actioninformation, and smell information. It should be understood that, theterminal device may have the foregoing presentation capability or promptcapability regardless of whether the terminal device is in the lockedstate or the unlocked state.

Optionally, that the user input meets a preset second conditionindicates that the user input meets a preset condition for viewinginformation on the terminal device. The user input that meets thecondition may be a gesture of the user on the touchscreen, such as asliding gesture and a tapping gesture, or shaking the terminal device bythe user, or changing a state of the terminal device by the user, or thelike.

Optionally, after step S102 and before step S104, the method in thisembodiment of the present invention further includes the following step:S1032. If the user input meets a preset third condition, prompt the userthat the terminal device is in a locked state and cannot respond to theuser input.

The preset third condition may be preset by the system or the user, andwhen the user input meets the third condition, the user is prompted withthe fact that the terminal device is in the locked state and cannotrespond to the user input. In this case, the user input belongs to thepart of the user input to which the terminal device cannot respond inthe locked state in step S101. A means of prompting the user isdescribed above, which is not described herein again.

It should be noted that, in Embodiment 1 of the present invention, stepS1030, S1031, and S1032 do not have a time sequence relationship, and animplementation sequence may be freely arranged, which is not limited inthis embodiment of the present invention.

According to a method for presentation by a terminal device that isprovided in this embodiment of the present invention, a lock screeninterface that is frequently used in a current technology when theterminal device is in a locked state is reduced, and an interfacepresented after an unlocked state is unlocked is used to replace thelock screen interface, thereby achieving beneficial effects of reducinga memory burden of the terminal device, and improving efficiency and aninteraction capability of the terminal device. In addition, a useroperation is simplified, and efficiency in using the terminal device bythe user is improved.

Embodiment 2

FIG. 2 is a schematic structural diagram of a terminal device accordingto Embodiment 2 of the present invention. As shown in FIG. 2, theterminal device in this embodiment of the present invention includes:

a locking unit 201, configured to enable the terminal device to be in alocked state, where when the terminal device is in the locked state, theterminal device can respond to a part of user input;

a presentation unit 202, configured to: when the locking unit 201enables the terminal device to be in the locked state, present contentof a first interface;

an acquiring unit 203, configured to acquire user input; and

an unlocking unit 204, configured to: if the user input meets a presetfirst condition, switch the terminal device to an unlocked state; where

the presentation unit 202 is further configured to present content ofthe first interface after the unlocking unit 204 switches the terminaldevice to the unlocked state, where the content that is of the firstinterface and presented when the terminal device is in the unlockedstate is the same as the content that is of the first interface andpresented when the terminal device is in the locked state, and

the user input to which the terminal device can respond in the unlockedstate is more than the user input to which the terminal device canrespond in the locked state.

The locking unit 201 and the presentation unit 202 may be configured toexecute the method in step S101 in Embodiment 1, the acquiring unit 203is configured to execute the method in step S102 in Embodiment 1, theunlocking unit 204 is configured to execute the method in step S1030 inEmbodiment 1, and the presentation unit 202 is further configured toexecute the method in step S104 in Embodiment 1. For details about aspecific method, refer to descriptions of the method in Embodiment 1,which are not described herein again.

Optionally, the content of the first interface specifically includessystem-level content or application program-level content preset by theterminal device or a user, where the presetting by the terminal deviceincludes presetting, by the terminal device according to a use habit ofthe user or a class of the user.

Optionally, the first interface is a first interface presented when theterminal device is in the locked state.

Optionally, the first interface is a first interface presented after theterminal device is switched to the unlocked state.

Optionally, when executing the method in step S104 in Embodiment 1, thepresentation unit 202 is specifically configured to: after the terminaldevice is switched to the unlocked state, present content of a secondinterface; and after presenting the content of the second interface,present the content of the first interface. For details about a specificmethod, refer to descriptions of the method in Embodiment 1, which arenot described herein again.

Optionally, the terminal device according to claim 13, where theterminal device further includes an application program unit 206, wherethe application program unit 206 is configured to: when the locking unit201 enables the terminal device to be in the locked state, start anapplication program according to the user input acquired by theacquiring unit 203. The presentation unit 202 is further configured to:after the application program unit starts the application program,present an interface of the application program. The application programunit 206 is configured to execute the method in Embodiment 1. Fordetails about a specific method, refer to descriptions of the method inEmbodiment 1, which are not described herein again.

Optionally, as shown in FIG. 3, the terminal device further includes aprompting unit 205, where the prompting unit is configured to: if theuser input meets a preset second condition, and the content of the firstinterface is already fully presented in a current presentation range ofthe terminal device, prompt the user that the content of the firstinterface is already fully presented in the current presentation rangeof the terminal device.

The prompting unit 205 is configured to execute the method in step S1031in Embodiment 1. For details about a specific method, refer todescriptions of the method in Embodiment 1, which are not describedherein again.

Optionally, as shown in FIG. 3, the prompting unit is further configuredto: if the user input meets a preset third condition, prompt the userthat the terminal device is in a locked state and cannot respond to theuser input.

The prompting unit 205 is configured to execute the method in step S1032in Embodiment 1. For details about a specific method, refer todescriptions of the method in Embodiment 1, which are not describedherein again.

According to a terminal device provided in this embodiment of thepresent invention, a lock screen interface that is frequently used in acurrent technology when the terminal device is in a locked state isreduced, and an interface presented after an unlocked state is unlockedis used to replace the lock screen interface, thereby achievingbeneficial effects of reducing a memory burden of the terminal device,and improving efficiency and an interaction capability of the terminaldevice. In addition, a user operation is simplified, and efficiency inusing the terminal device by the user is improved.

Embodiment 3

FIG. 4 is a schematic structural diagram of a terminal device accordingto Embodiment 3 of the present invention. As shown in FIG. 4, theterminal device includes a processor 301, a touchscreen 302, and amemory 303. The memory 303 is configured to store content of a firstinterface. The touchscreen 302 is configured to: when the terminaldevice is in a locked state, present content of the first interface, andthe touchscreen 302 is further configured to acquire user input, wherewhen the terminal device is in the locked state, the processor 301 canrespond to a part of the user input acquired by the touchscreen. Theprocessor 301 is configured to: if the user input acquired by thetouchscreen 302 meets a preset first condition, switch the terminaldevice to an unlocked state. The touchscreen 302 is further configuredto present content of the first interface after the unlocking unitswitches the terminal device to the unlocked state, where the contentthat is of the first interface and presented when the terminal device isin the unlocked state is the same as the content that is of the firstinterface and presented when the terminal device is in the locked state.The terminal device is configured to execute the method in Embodiment 1.For details about a specific method, refer to descriptions of the methodin Embodiment 1, which are not described herein again.

It should be understood that, the terminal device shown in FIG. 4 ismerely an example of the terminal device, and the terminal device mayhave components more than or fewer than those shown in the diagram, maycombine two or more components, or may have different componentconfigurations. Various components shown in the diagram may beimplemented in hardware including one or more signal processing and/orapplication-specific integrated circuits, in software, or in acombination of hardware and software.

The touchscreen 302 is configured to: when the terminal device is in thelocked state, present the content of the first interface; is furtherconfigured to acquire the user input; and is further configured topresent the content of the first interface after the unlocking unitswitches the terminal device to the unlocked state. The touchscreen 302is configured to execute the method in Embodiment 1. For details, referto the method in S101, S102, and S104 in Embodiment 1. For details abouta specific method, refer to the method in Embodiment 1, which is notdescribed herein again. The touchscreen 302 is an input interface and anoutput interface between a mobile phone and a user. In addition tohaving a function of acquiring touch information and a controlinstruction of the user, the touchscreen 302 further presents visibleoutput to the user, where the visible output may include a graphic, atext, an icon, a video, and the like. Optionally, the touchscreen isspecifically configured to: after the terminal device is switched to theunlocked state, present content of the second interface, and afterpresenting the content of the second interface, present the content ofthe first interface.

The memory 303 may be configured to store the content of the firstinterface. The memory 303 may include a high-speed random access memory,and may further include a non-volatile memory, such as one or moremagnetic disk storages, a flash memory, or another volatile solid-statestorage. Optionally, the content of the first interface specificallyincludes system-level content or application program-level contentpreset by the terminal device or a user, where the presetting by theterminal device includes presetting, by the terminal device according toa use habit of the user or a class of the user. Optionally, the firstinterface is a first interface presented after the terminal device isswitched to the unlocked state. Optionally, the first interface is afirst interface presented when the terminal device is in the lockedstate. Optionally, the memory is further configured to store the contentof the second interface.

The processor 301 is configured to execute the method in S103 inEmbodiment 1. For details about a specific method, refer to the methodin Embodiment 1, which is not described herein again. The processor 301is a control center of the terminal device, connects to variouscomponents of the entire terminal device by using various interfaces andlines, and by running or executing a software program and/or a modulethat are/is stored in the memory 303 and by invoking data stored in thememory 303, executes various functions of the terminal device andprocesses data, so as to perform overall monitoring on the terminaldevice. Optionally, the processor 301 may include one or more processingunits. Preferably, an application processor and a modem processor may beintegrated into the processor 301. Optionally, the application processormainly processes an operating system, an interface, an applicationprogram, and the like; and the modem processor mainly processes radiocommunications. It can be understood that the foregoing modem processormay not be integrated into the processor 301. It should further beunderstood that, the foregoing function is only one of functions thatcan be executed by the processor 301, and other functions are notlimited in this embodiment of the present invention. Optionally, theprocessor is further configured to: if the user input acquired by thetouchscreen meets a preset second condition, control, according to theuser input, the touchscreen to present content that is of the firstinterface and outside a current presentation range of the terminaldevice.

According to a terminal device provided in this embodiment of thepresent invention, a lock screen interface that is frequently used in acurrent technology when the terminal device is in a locked state isreduced, and an interface presented after an unlocked state is unlockedis used to replace the lock screen interface, thereby achievingbeneficial effects of reducing a memory burden of the terminal device,and improving efficiency and an interaction capability of the terminaldevice. In addition, a user operation is simplified, and efficiency inusing the terminal device by the user is improved.

With descriptions of the foregoing embodiments, a person skilled in theart may clearly understand that the embodiments of the present inventionmay be implemented by hardware, firmware or a combination thereof. Whenthe present invention is implemented by software, the foregoingfunctions may be stored in a terminal readable medium or transmitted asone or more instructions or code in the terminal readable medium. Theterminal readable medium includes a terminal storage medium and acommunications medium. Optionally, the communications medium includesany medium that enables a terminal program to be transmitted from oneplace to another. The storage medium may be any available mediumaccessible to a terminal. The following provides an example but does notimpose a limitation: The terminal readable medium may include a RAM, aROM, an EEPROM, a CD-ROM, or another optical disc storage or a diskstorage medium, or another magnetic storage terminal device, or anyother medium that can carry or store expected program code in a form ofan instruction or a data structure and can be accessed by a terminal. Inaddition, any connection may be appropriately defined as a terminalreadable medium. For example, if software is transmitted from a website, a server or another remote source by using a coaxial cable, anoptical fiber/cable, a twisted pair, a digital subscriber line (DSL), orwireless technologies such as infrared ray, radio and microwave, thecoaxial cable, the optical fiber/cable, the twisted pair, the DSL, orthe wireless technologies such as infrared ray, radio and microwave areincluded in definition of a medium to which they belong. For example, adisk (Disk) and disc (disc) used by the embodiments of the presentinvention includes a compact disc CD, a laser disc, an optical disc, adigital versatile disc (DVD), a floppy disk, and a Blu-ray disc.Optionally, the disk generally copies data by a magnetic means, and thedisc copies data optically by a laser means. The foregoing combinationshould also be included in the protection scope of the terminal readablemedium.

In short, the foregoing descriptions are only embodiments of thetechnical solutions of the present invention, but are not intended tolimit the protection scope of the present invention. Any modification,equivalent replacement, or improvement made without departing from thespirit and principle of the present invention shall fall within theprotection scope of the present invention.

What is claimed is:
 1. A mobile terminal with a touch screen, comprisingat least one processor configured to: display, on the touch screen, afirst interface, the first interface including an interface of a firstapplication program (FAP), the interface of the FAP occupying a firstarea on the touch screen, the first area being part of a whole displayarea of the touch screen, and first information of the FAP beingdisplayed in the first area; detect a first user input; in response tothe first user input, designate a second application program (SAP) to bedisplayed in the first interface; when the mobile terminal is in alocked state, display, on the touch screen, the first interface, thefirst interface including the interface of the FAP and an interface ofthe SAP, the interface of the SAP occupying a second area on the touchscreen, and the second area being part of the whole display area of thetouch screen; and when the mobile terminal remains in the unlocked stateand the home screen is displayed, detect a second gesture, and inresponse thereto, display the first interface with the interface of theFAP and the interface of the SAP.
 2. The mobile terminal according toclaim 1, wherein the at least one processor further configured to:detect a first gesture on the icon corresponding to the FAP; in responseto the first gesture, present a first window of the FAP after the FAP isstarted; detect a gesture for closing the first window of the FAP; andclose the first window of the FAP; wherein the interface of the FAPbeing different from the first window of the FAP.
 3. The mobile terminalaccording to claim 1, wherein the at least one processor is furtherconfigured to: collect the habit of using the mobile terminal by theuser by active learning; set a first content based on the collectedhabit of using the mobile terminal by the user; display the firstcontent, the first interface including the first content; and when themobile terminal remains in the unlocked state and the home screen isdisplayed, detect a second gesture, and in response thereto, display thefirst interface with the interface of the FAP, the interface of the SAPand the first content.
 4. The mobile terminal according to claim 3,wherein the first content includes an application program frequentlyused, or information frequently viewed.
 5. The mobile terminal accordingto claim 1, wherein the at least one processor is further configured to:detect the mobile terminal shifting from the locked state to an unlockedstate while the first interface is displayed; and in response detect agesture, display the home screen instead of displaying the firstinterface.
 6. The mobile terminal according to claim 1, wherein the atleast one processor is further configured to: when the mobile terminalis in the locked state and the first interface is displayed, detect asecond user input; in response to the second user input, present a partof the first interface which is outside the current presentation rangeof the touch screen to the user.
 7. The mobile terminal according toclaim 6, wherein the second user input is a sliding gesture, a pageflipping gesture, or a zooming gesture.
 8. The mobile terminal accordingto claim 6, wherein the at least one processor is further configured to:prompt the user when the first interface is already fully presented inthe current presentation range of the touch screen.
 9. The mobileterminal according to claim 1, the at least one processor is furtherconfigured to: perform a first operation in response to detecting athird user input on the interface of the FAP when the mobile terminal isin the locked state; perform a second operation in response to detectinga fourth user input on the interface of the FAP when the mobile terminalis in the unlocked state; wherein the first operation is different fromthe second operation.
 10. The mobile terminal according to claim 1,wherein the FAP is a weather application program, a news applicationprogram, or an e-mail application program.
 11. A method for presentationby a terminal device, wherein the method comprises: displaying, by theterminal, on the touch screen, a first interface, the first interfaceincluding an interface of a first application program (FAP), theinterface of the FAP occupying a first area on the touch screen, thefirst area being part of a whole display area of the touch screen, andfirst information of the FAP being displayed in the first area;detecting, by the terminal, a first user input; in response to the firstuser input, designating, by the terminal, a second application program(SAP) to be displayed in the first interface; when the terminal is in alocked state, displaying, by the terminal, on the touch screen, thefirst interface, the first interface including the interface of the FAPand an interface of the SAP, the interface of the SAP occupying a secondarea on the touch screen, and the second area being part of the wholedisplay area of the touch screen; when the terminal remains in theunlocked state and the home screen is displayed, detecting, by theterminal, a second gesture, and in response thereto, displaying, by theterminal, the first interface with the interface of the FAP and theinterface of the SAP.
 12. The method according to claim 11, wherein themethod further comprises: detecting, by the terminal, a first gestureproximal the icon; in response to the first gesture, presenting, by theterminal, a first window of the FAP after the FAP is started; detecting,by the terminal, a gesture for closing the first window of the FAP; andclosing, by the terminal, the first window of the FAP; wherein theinterface of the FAP is different from the first window of the FAP. 13.The method according to claim 11, further comprising: collecting, by theterminal, the habit of using the terminal by the user by activelearning; and setting, by the terminal, the first content based on thecollected habit of using the terminal by the user; displaying, by theterminal, the first content, the first interface including the firstcontent; and when the mobile terminal remains in the unlocked state andthe home screen is displayed, detect a second gesture, and in responsethereto, displaying, by the terminal, the first interface with theinterface of the FAP, the interface of the SAP and the first content.14. The method according to claim 11, wherein the first content includesan application program frequently used, or information frequentlyviewed.
 15. The method according to claim 11, further comprising:detecting the mobile terminal shifting from the locked state to anunlocked state while the first interface is displayed; and in responsedetect a gesture, displaying the home screen instead of displaying thefirst interface; wherein the first content includes an applicationprogram frequently used, or information frequently viewed.
 16. Themethod according to claim 11, wherein when the terminal is in the lockedstate, displaying, on the touch screen, the first interface furthercomprises: when the terminal is in a locked state and the firstinterface is displayed, detecting a second user input; in response tothe second user input, presenting a part of the first interface which isoutside the current presentation range of the touch screen to the user.17. The method according to claim 16, wherein the second user input is asliding gesture, a page flipping gesture, or a zooming gesture.
 18. Themethod according to claim 16, wherein when the terminal is in a lockedstate, displaying, by the terminal, on the touch screen, the firstinterface further comprises: prompting, by the terminal, the user whenthe first interface is already fully presented in the currentpresentation range of the screen.
 19. The method according to claim 11,further comprising: performing, by the terminal, a first operation inresponse to detecting a third user input on the interface of the FAPwhen the terminal is in the locked state; performing, by the terminal, asecond operation in response to detecting a fourth user input interfaceof the FAP when the terminal is in the unlocked state; wherein the firstoperation is different from the second operation.
 20. A non-transitorycomputer-readable storage medium comprising instructions which, whenexecuted by a computer, cause the computer to: display, on the touchscreen, a first interface, the first interface including an interface ofthe FAP, the interface of a first application program (FAP) occupying afirst area on the touch screen, the first area being part of a wholedisplay area of the touch screen, and first information of the FAP beingdisplayed in the first area; detect a first user input; in response tothe first user input, designate a second application program (SAP) to bedisplayed in the first interface; when the mobile terminal is in alocked state, display, on the touch screen, the first interface, thefirst interface including the interface of the FAP and an interface ofthe SAP, the interface of the SAP occupying a second area on the touchscreen, and the second area being part of the whole display area of thetouch screen; and when the mobile terminal remains in the unlocked stateand the home screen is displayed, detect a second gesture, and inresponse thereto, display the first interface with the interface of theFAP and the interface of the SAP.